import { Empty } from "antd"
import { CSSProperties, forwardRef } from "react"

interface Props {
    style?: CSSProperties
}

const EmptyWapper = (props: Props) => {
    const {
        style = {}
    } = props;

    return (
        <div 
            style={style}
            className="flex-col empty-wapper-container"
        >
            <Empty
                description={'暂无数据'}
            />
        </div>
    )
}

export default forwardRef(EmptyWapper)